Developer --> Technical Publications
PATH Hardware Documentation > Device Managers and Drivers > ATA Devices > ATA Device Software Guide


get power mode

The get power mode status function returns the current power mode state of the internal hard disk.


Parameter block

-->

csCode

A value of 70.
-->

ioVRefNum

The logical drive number.
-->

csParam[ ]

None defined.
<--

csParam[ ]

The most significant byte of this field contains one of the following values:
1 = drive is in standby mode.
2 = drive is in idle mode.
3 = drive is in sleep mode.
<--

ioResult

See result codes.
RESULT CODES

noErr

0 Successful completion, no error occurred.

statusErr

-18 The power management information couldn't be returned due to a manager error.

nsDrvErr

-56 The specified logical drive number does not exist.


© 1999 Apple Computer, Inc. — (Last Updated 30 Oct 97)

Previous | Back Up One Level | Next | Show Frames | Hide Frames